package cn.kgc.springboot.service;

import cn.kgc.springboot.entity.User;
import cn.kgc.springboot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: mosin
 * @version: v1.0  2022/5/24
 */
@Service
public class UserServiceImpl  implements UserService{
    @Autowired
    private UserMapper userMapper;
    @Override
    public Integer addUser(User user) {
        Integer integer = userMapper.addUser(user);
        return integer;
    }
}
